import request from '@/utils/request';

//列表
export function contentRuleList(data) {
  return request({
    url: 'pointsRuleDescriptionRecord/getPointsRuleDescriptionRecordList',
    method: 'post',
    data
  });
}
//新增
export function contentRuleAdd(data) {
  return request({
    url: 'pointsRuleDescriptionRecord/savePointsRuleDescriptionRecord',
    method: 'post',
    data
  });
}

//删除
export function contentRuleDelete(data) {
  return request({
    url: 'pointsRuleDescriptionRecord/deletePointsRuleDescriptionRecord',
    method: 'post',
    data
  });
}

//修改
export function contentRuleEdit(data) {
  return request({
    url: 'pointsRuleDescriptionRecord/updatePointsRuleDescriptionRecord',
    method: 'post',
    data
  });
}




export default {
  contentRuleList,
  contentRuleEdit,
  contentRuleDelete,
  contentRuleAdd,
};
